package udes.assassin;

import java.util.ArrayList;
import java.util.List;

import udes.assassin.structure.Game;

public class Global {
    private static Global mInstance= null;

    public Game mGame;
    public boolean mIsGameOwner;
    public String mId;
	public boolean mIsConnectToServer;
	public List<Game> mGameList;

    protected Global(){}

    public static synchronized Global getInstance(){
        if(null == mInstance){
                mInstance = new Global();
                mInstance.mId = "";
                mInstance.mIsConnectToServer = false;
                mInstance.mGameList = new ArrayList<Game>();
        }
        return mInstance;
    }
}

